{__NOLAYOUT__}
{include file='../public/header' /}
<div class="container-fluid bg-white h-100 table-responsive ">
    <br>
    <div class="row">
        <form class="m-auto w-75" id="content" method="post" action="{$Request.root}/{$Request.controller}/add">
            <div class="form-group row">
                <label class="col-sm-2 col-form-label">所属分类</label>
                <div class="col-sm-10">
                    <div class="form-group">
                        <select class="custom-select select2bs4" name="category">
                            <option value="">无</option>
                            {volist name="dictlist" id="vo"}
                            <option value="{$vo.category}">{$vo.category}</option>
                            {/volist}
                        </select>
                    </div>
                </div>
            </div>
            <div class="form-group row">
                <label class="col-sm-2 col-form-label">数据</label>
                <div class="col-sm-10">
                    <input type="text" class="form-control" name="value" placeholder="请输入课程名称">
                </div>
            </div>
            <div class="form-group row">
                <label class="col-sm-2 col-form-label">显示</label>
                <div class="col-sm-10">
                    <div class="form-group">
                        <div class="icheck-success d-inline">
                            <input type="checkbox" name="show_status" checked value="1" id="showStatus">
                            <label for="showStatus">
                                是否可用
                            </label>
                        </div>
                    </div>
                </div>
            </div>
            <button class="sub-bindbtn" id="{:config('app.app_debug') ? 'debug':'nodebug'}" lay-submit lay-filter="bind">
            </button>
        </form>
    </div>
</div>
{include file='../public/script' /}